package com.example.littlexs.rxjavademo.http;

import com.example.littlexs.rxjavademo.entity.MovieEntity;
import com.example.littlexs.rxjavademo.model.MovieResultDO;

import java.util.List;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by littlexs on 2016/9/21.
 */
public interface MyService {
    @GET("top250")
    Observable<MovieResultDO<List<MovieEntity>>> getTopMovie(@Query("start") int start, @Query("count") int count);
}
